//设置字体随屏幕大小改变
document.documentElement.style.fontSize = innerWidth/16 + 'px';
						window.onresize = function(){
						document.documentElement.style.fontSize = innerWidth/16 + 'px';
					}	
//港澳台list
app.controller('store',['$scope','$http',function($scope,$http){
	$scope.arr = [];
	$scope.arr1 =[];
	$scope.arr2 =[];
	$scope.arr3 =[];
	$scope.arr4 =[];
	$scope.arr5 =[];
	$scope.arr6 =[];
	$scope.arr7 =[];
	$http({
		url:"http://127.0.0.1:4000/store1",
		method:'get',
		data:'',
	}).success(function(data){
//		console.log(data.data.hot_area[0].list);
		$scope.arr = data.data.hot_area[0].list;
//		console.log(data.data.discount_topic[0].list);
		console.log(data.data.hot_goods);
		$scope.arr1 = data.data.hot_area[1].place;
		$scope.arr2 = data.data.hot_area[1].list;
		$scope.arr3 = data.data.hot_area[2].place;
		$scope.arr4 = data.data.hot_area[2].list;
		$scope.arr5 = data.data.hot_area[1].place;
		$scope.arr6 = data.data.hot_area[1].list;
		$scope.arr7 = data.data.hot_goods;
	})
<<<<<<< HEAD
	$scope.addProduct2Cart = function(obj){
		cart.addProduct(obj.title,obj.sold,obj.price);
		console.log(obj)
	}
	//搜索框
	$scope.serch =['大阪环球影城','旧金山','花莲日游','洛杉矶','香港','巴厘岛','关西周游券','巴黎','清迈','好莱坞环球影城','新加坡动物园','冲绳日游']
	$scope.cancle=function(){
		$scope.flag = false;
	}
	}])
=======
}])
>>>>>>> 9926f25e42e7b76e3063bfa9d4d87e46e2d27463
